go/types.Chan.Dir (method)

14 uses

	go/types (current package)
		chan.go#L32: func (c *Chan) Dir() ChanDir { return c.dir }

	golang.org/x/exp/apidiff
		compatibility.go#L49: 	if old.Dir() != new.Dir() {
		compatibility.go#L50: 		if new.Dir() == types.SendRecv {
		correspondence.go#L56: 			return d.corr(old.Elem(), new.Elem(), p) && old.Dir() == new.Dir()

	golang.org/x/tools/go/types/typeutil
		map.go#L302: 		return 9127 + 2*uint32(t.Dir()) + 3*h.hash(t.Elem())

	golang.org/x/tools/internal/gcimporter
		iexport.go#L1050: 		switch t.Dir() {

	golang.org/x/tools/internal/typeparams
		coretype.go#L56: 		if ch.Dir() == types.SendRecv {
		coretype.go#L59: 		} else if curr.Dir() != types.SendRecv && ch.Dir() != curr.Dir() {

	golang.org/x/tools/internal/typesinternal
		zerovalue.go#L261: 		dir := ast.ChanDir(t.Dir())
		zerovalue.go#L262: 		if t.Dir() == types.SendRecv {